package com.cn.serverline.lineicp.productionLine.param;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 工序ID参数
 *
 * @author Gmr
 * @since 2024/7/30
 */
@Data
public class ProductionProcessesIdParam {

	@ApiModelProperty(value = "工序主键ID", required = true)
	@JsonSerialize(using= ToStringSerializer.class)
	@NotNull(message = "id不能为空")
	private Long id;
}
